import fly from '../utils/request'

// 用户登录
export const login = data => {
  return fly.post('/authorizations', data)
}

export const verifyCode = (mobile) => {
  return fly.get(`/sms/codes/${mobile}`)
}